/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package gui2;

import java.awt.Color;
import java.awt.TextField;
import javax.swing.JDialog;
import javax.swing.JScrollPane;
import javax.swing.JTextArea;
import javax.swing.text.DefaultCaret;

/**
 *
 * @author Minimjuk
 */
public class ChooseGridFile extends JDialog{
        
     private TextField textField = new TextField(40);  
    
     public ChooseGridFile(int width, int height) {
            this.setSize(width, height);
            this.setTitle("Choose Grid File");
            this.setDefaultCloseOperation(DISPOSE_ON_CLOSE);
            this.setLocation(930, 230);
            this.setResizable(false);
            InitComponents();
            this.show();        
    }
    
    private void InitComponents(){   
        add(textField);
    } 
}
